package com.fy.service.impl;

import com.fy.dao.EpcDictDao;
import com.fy.dao.GroupDao;
import com.fy.entity.EpcDict;
import com.fy.entity.PageEntity;
import com.fy.entity.TreeEntity;
import com.fy.service.EpcDictService;
import com.fy.service.GroupService;
import com.fy.utils.ObjectUtils;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.apache.commons.collections.map.HashedMap;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service("groupService")
public class GroupServiceImpl implements GroupService {

    @Autowired
    private GroupDao groupDao;

    public List<TreeEntity> getGroupTree(String type, Long companyId) {
        return groupDao.getGroupTree(type,companyId);
    }
}
